Skip to content

Conversation

@dashpole
Copy link
Contributor

@dashpole dashpole commented Dec 4, 2025

@dashpole dashpole requested a review from a team as a code owner December 4, 2025 01:43
@dashpole dashpole force-pushed the instrumentation_otelhttp branch from 24046c7 to f6fd7b8 Compare December 5, 2025 21:19
@dashpole
Copy link
Contributor Author

dashpole commented Dec 5, 2025

@aabmass I'm having trouble getting to the bottom of this. It now passes for me locally, but still fails during the presubmit with the same generic error.

When I was testing, the error was because the collector was not able to start. Maybe GOOGLE_CLOUD_PROJECT isn't set?

@dashpole
Copy link
Contributor Author

dashpole commented Dec 5, 2025

Does it need to map PROJECT_ID to that?

@DylanRussell
Copy link
Contributor

I can't tell why golang:1.25 failed..

@dashpole
Copy link
Contributor Author

dashpole commented Dec 8, 2025

   2025-12-08T18:06:33.095Z	warn	[email protected]/provider.go:59	Configuration references unset environment variable	{"name": "GOOGLE_CLOUD_PROJECT"}
   2025-12-08T18:06:33.095Z	warn	[email protected]/provider.go:59	Configuration references unset environment variable	{"name": "GOOGLE_CLOUD_PROJECT"}
   2025-12-08T18:06:33.095Z	warn	[email protected]/provider.go:59	Configuration references unset environment variable	{"name": "GOOGLE_CLOUD_PROJECT"}
   2025-12-08T18:06:33.095Z	warn	[email protected]/provider.go:59	Configuration references unset environment variable	{"name": "GOOGLE_CLOUD_PROJECT"}
   2025-12-08T18:06:33.095Z	warn	[email protected]/provider.go:59	Configuration references unset environment variable	{"name": "GOOGLE_CLOUD_PROJECT"}
   Error: failed to build pipelines: failed to create "resource/gcp_project_id" processor, in pipeline "traces": error creating AttrProc. Either field "value", "from_attribute" or "from_context" setting must be specified for 0-th action
   2025/12/08 18:06:33 collector server run finished with error: failed to build pipelines: failed to create "resource/gcp_project_id" processor, in pipeline "traces": error creating AttrProc. Either field "value", "from_attribute" or "from_context" setting must be specified for 0-th action

@dashpole dashpole force-pushed the instrumentation_otelhttp branch from ab33060 to 5fdb3af Compare December 8, 2025 19:07
@dashpole dashpole merged commit 4aa992f into GoogleCloudPlatform:main Dec 8, 2025
21 checks passed
dashpole added a commit that referenced this pull request Dec 8, 2025
@dashpole dashpole deleted the instrumentation_otelhttp branch December 8, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants